package com.husawang.husa.lib.base;

import android.app.Application;
import android.content.Context;

import com.orhanobut.logger.AndroidLogAdapter;
import com.orhanobut.logger.Logger;

import net.wequick.small.Small;

/**
 * Created by s on 2017/8/9.
 */

public class MyApplication extends Application {

	private static Context instance;
	public static Context getInstance() {
		return instance;
	}

	@Override
	public void onCreate() {
		super.onCreate();

		instance=this;

		Logger.addLogAdapter(new AndroidLogAdapter());

		Small.preSetUp(this);
	}

}
